package com.demo.drools.rules.entity;

import com.demo.drools.rules.enums.DeductionType;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ZhouSicheng
 * @description 停车费计算器
 * @date 2019/3/14 16:27
 */
@Data
public class ParkingFeeCouponCalculator implements Serializable {

    /**
     * 原始金额
     */
    private Long originalPrice;

    /**
     * 优惠类型
     */
    private DeductionType deductionType;

    /**
     * 折扣
     */
    private Double discount;

    /**
     * 立减金额
     */
    private Long reduceValue;

    /**
     * 实际金额
     */
    private Long actualPrice;

}
